import request from '@/utils/request'

// 获取首页数据
export function getHomeData() {
  return request({
    url: '/api/home',
    method: 'get'
  })
}

// 获取热门餐厅
export function getHotRestaurants() {
  return request({
    url: '/api/home/hot-restaurants',
    method: 'get'
  })
}

// 获取热销菜品
export function getHotDishes() {
  return request({
    url: '/api/home/hot-dishes',
    method: 'get'
  })
} 